//
//  MyRecommendCell.m
//  HNJYB
//
//  Created by Mag1cPanda on 2017/4/25.
//  Copyright © 2017年 Mag1cPanda. All rights reserved.
//

#import "MyRecommendCell.h"

@implementation MyRecommendCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setDic:(NSDictionary *)dic
{
    _dic = dic;
    
//    _indexLab.hidden = YES;
//    _phoneLab.hidden = YES;
//    _carnoLab.text = [NSString stringWithFormat:@"%zi. %@ %@",_indexPath.row+1, dic[@"carno"], dic[@"carownerphone"]];
    
    _indexLab.text = [NSString stringWithFormat:@"%zi.",_indexPath.item+1];
    _carnoLab.text = dic[@"carno"];
    _phoneLab.text = [NSString stringWithFormat:@"电话：%@",dic[@"carownerphone"]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
